package com.zhz.thymeleaf.service;

import com.zhz.thymeleaf.entity.User;

import java.util.List;

public interface UserService {
    public User login(String usrName, String usrPassword);

    public User addUser(User user);

    public void deleteUser(Long usrId);

    public User updateUser(User user);

    public User getUser(Long usrId);

    public List<User> findAllUsers();

}
